home *** CD-ROM | disk | FTP | other *** search
/ BMUG Revelations / BMUG Revelations.toast / Programming / Programming Languages / Harvest C / MPW Int & Lib / Interfaces / SetJmp.h < prev    next >
Text File  |  1991-04-17  |  352b  |  27 lines

  1. /*
  2.    SetJmp.h
  3.  
  4.    Copyright Apple Computer, Inc.    1986-1990
  5.    All rights reserved.
  6.  */
  7.  
  8. #ifndef __SETJMP__
  9. #define __SETJMP__
  10.  
  11.  
  12. typedef long *jmp_buf[12];        /*    D2-D7,PC,A2-A4,A6,SP  */
  13.  
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17.  
  18. int __setjmp(jmp_buf env);
  19. #define setjmp(env) __setjmp(env)
  20. void longjmp(jmp_buf, int);
  21.  
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25.  
  26. #endif
  27.